<?php

namespace common\sms;

interface SenderInterface
{
    public function init($config);

    public function checkTemplate($template);

    public function send($mobile, $template);

    public function getErrorMsg();

    public function setErrorMsg($errMsg);

    public function sendValidMsg($mobile, $code, $m);
}
